#include "FlowToyMCBase.h"

using namespace std;

int main(){
	TFile *f1 = new TFile("test.root","RECREATE");
	FlowToyMCBase *toy = new FlowToyMCBase();
	toy->Print();
	toy->Generate();
	TH1F *h1 = new TH1F("h1","h1",1024,0,2*TMath::Pi());
	for(int i=0;i<500;i++) {
	h1->Fill(toy->GetPhi(i));
	}
	f1->Write();
	
}
